using System;
using System.ComponentModel.DataAnnotations;

namespace MiniStock.BusinessLogic.EventProcessor.EventRepository
{
    [Table("Events")]
    public class EventProcessorEventData
    {
        [Key]
        public Guid Id { get; set; }
        [Required]
        public DateTime EventDate { get; set; }
        [Required]
        public string EventType { get; set; }
        [Required]
        public string EntityId { get; set; }
        [Required]
        public string ContentXml { get; set; }
    }
}